﻿using System;
using System.Windows.Forms;

namespace Compiler
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            
            //We should pass the filename in as a command line parameter and load from it
            var fileName = args.Length > 0 ? args[0] : "";

            var parser = new Parser(fileName);
            Application.Run();
        }
    }
}
